home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
workbench werkzeuge
/
patches
/
fixsprite
/
fixsprite.doc
< prev
next >
Wrap
Text File
|
1996-04-07
|
5KB
|
145 lines
FixSprite V1.03
Adam Nelson, 27th April 1994
DISCLAIMER
----------
You may copy and distribute original and/or modified copies of the
program's executable code and documentation as you receive it, in any
medium. All I ask is if you modify the code, please keep my name on it as
well as yours. If you do a total rewrite, at least mention where the idea
came from.
The author will not be liable for any damage arising from the failure
of this program to perform as described, or any destruction of other
programs or data residing on a system attempting to run the program. While
I know of no damaging errors, the user of this program uses it at his or
her own risk.
INTRODUCTION
------------
You've just bought that brand new AGA machine, and immediately decide
to switch the mouse pointer to Hires mode via the new Prefs/Pointer
program. Very happy with your new pointer, you then decide to load your
favourite terminal program (or anything that uses sprites), and what
happens? The mouse pointer changes the pointer resolution again, going
into Super-Hires mode! This looks extremely ugly with the standard
pointer. :-(
This program is nothing more than a quick hack. What it does is simply
to display a transparent sprite on the screen, which causes the mouse
pointer to go into Super-Hires mode. When you combine this with the new
supplied pointer graphic, what you have is now a STABLE (resolution-wise)
mouse pointer, and one less sprite.
SYSTEM REQUIREMENTS
-------------------
An Amiga with at least 512Kb RAM. FixSprite should work on any OS
version, but won't be much use on anything but an AGA machine
(1200/4000/4000T/CD32).
INSTALLATION
------------
Simply copy the file Prefs/Env-Archive/Sys/Pointer.prefs to
SYS:Prefs/Env-Archive/Sys/Pointer.prefs and FixSprite to your C:
directory.
USAGE
-----
The template for FixSprite is as follows:
FixSprite n <NOREQUESTER>
where n is the sprite number to use from 0 to 7 (actually 0 is the
mouse pointer, so you cannot use that). If the optional keyword
NOREQUESTER is specified after the sprite number, the program will not show
a requester saying it has terminated when you quit the program. The
default is the requester will be shown.
FixSprite cannot (yet) be run from WorkBench. Simply put it in your
User-Startup file, e.g.
Run >NIL: C:FixSprite 7
To quit FixSprite, simply send it a Ctrl-C signal. This can be done
with the Status and Break commands via the Shell. E.g.
Status
Break <processnum> c
By default, FixSprite will then pop up a requester saying it has been
terminated. (I hate having to type Status again after Break to see if the
program really did quit).
MISCELLANEOUS
-------------
This is my first attempt at a half useful C program. If someone finds
any bugs or ugly programming in my source code (included), please
re-compile it and redistribute it, with your modifications noted. If you
do not have access to a C Compiler, E-Mail the modified source code back to
me, and I'll re-compile it. If someone knows how to really fix this
problem with the mouse pointer, (i.e. not by displaying another sprite),
rewrite the whole program!
ABOUT THE AUTHOR AND THE PROGRAM
--------------------------------
FixSprite has been created using SAS/C version 6.50 and CygnusEd
Professional version 3.5 on an Amiga A1200 with 6Mb memory and a 200Mb IDE
hard drive. The FixSprite documentation was formatted with CygnusEd
Professional version 3.5.
If you have suggestions or remarks about this program, or if you find
any bugs, please let me know.
When sending in bug reports, please state exactly under what
circumstances the bug occurred, what equipment was used and what happened.
If possible also try to give me enough information to reproduce the bug.
It is very difficult to find bugs when you don't know exactly what
happened. If you have made changes to the source code, please send me a
copy of the edited source code, and a list of your changes.
Write to either of the following addresses (E-Mail preffered) :
E-Mail : i942327@redgum.ucnv.edu.au
Fido : 3:635/504.10 (Adam Nelson)
HISTORY
-------
Version 1.03 (27/04/94)
-----------------------
No code changes, just re-compiled with SAS/C version 6.50.
Version 1.02 (30/01/94)
-----------------------
Added a command line option to disable the AutoRequester.
First Public release.
Version 1.01 (29/01/94)
-----------------------
Changed Ctrl-F checking to Ctrl-C for compatibility.
An AutoRequest will now be displayed when program is sent a Ctrl-C.
Small optimisations.
Version 1.00 (25/01/94)
-----------------------
Initial release.